﻿using MgSoft.K3Cloud.WebApi.Dto;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace MgSoft.K3Cloud.WebApi.Common.Dto.Bd
{
    /// <summary>
    /// 供应商列表查询Dto
    /// </summary>
    public class Bd_SupplierGetListOutputDto : GetListOutputDto
    {
        [JsonProperty("FSupplierId")]
        public override string IdString { get => base.IdString; set => base.IdString = value; }
        [JsonProperty("FSupplierId")]
        public override long FId { get => base.FId; set => base.FId = value; }
        [JsonIgnore]
        public override string BillNo { get => base.BillNo; set => base.BillNo = value; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        [JsonProperty("FName")]
        public string Name { get; set; }
        [JsonProperty("FNumber")]
        public override string Number { get; set; }
        /// <summary>
        /// 发票类型(1: 增值税专用发票 2: 普通发票)
        /// </summary>
        [JsonProperty("FInvoiceType")]
        public string FInvoiceType { get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        [JsonProperty("FDocumentStatus")]
        public string FDocumentStatus { get; set; }
        [JsonProperty("FUseOrgId.FNumber")]
        public string UseOrgNumber { get; set; }
        [JsonProperty("FTaxRateId.FTaxRate")]
        public decimal DefaultTaxRate { get; set; }
    }
}
